package com.zfzs.post.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: ck
 * @create: 2019-10-23 13:52
 **/
@Data
public class QueryPageDateTypeDTO {
    private String startDate;
    private String endDate;
    @NotNull (message = "不能为空")
    private Integer pageNum;
    @NotNull (message = "不能为空")
    private Integer pageSize;
    @NotBlank (message = "查询类型不能为空")
    private String type;
}
